package com.springboot.project.service.impl;

import com.springboot.project.dao.master.UserInfoDao;
import com.springboot.project.domain.entity.UserInfo;
import com.springboot.project.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author liupenghui
 * @date 2018/7/10
 * @desc：
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Autowired
    private UserInfoDao userInfoDao;

    @Override
    public UserInfo findByUsername(String username) {
        System.out.println("UserInfoServiceImpl.findByUsername()");
        return userInfoDao.findByUsername(username);
    }
}
